package edu.pku.hawk.service;

import java.util.HashMap;

import org.osoa.sca.annotations.Remotable;

import edu.pku.hawk.controller.util.SensorAllData;
import edu.pku.hawk.controller.util.SensorAllData2;
import edu.pku.hawk.service.bo.RowSensorData;

@Remotable
public interface SensorDataSer {

	public HashMap<Integer,SensorAllData> queryAll();
	
	public HashMap<Integer, SensorAllData2> queryAll2();

	public RowSensorData getBySensorCompact(String sensorType, int sensorId);

	public SensorAllData[] queryAllWithArray();
	// public RowSensorData[] getValueBySensor(String sensorType, int sensorId);

	// public RowSensorData getValueBySensorAndTime(String sensorType, int
	// sensorId, Timestamp intime);
	//
	// public RowSensorData[] getValueBySensorAndTimeSegment(String sensorType,
	// int sensorId, Timestamp start, Timestamp end);
	//
	// public RowSensorData getLastValueBySensor(String sensorType, int
	// sensorId);

	// public RowSensorData[] getLastNValueBySensor(String sensorType, int n,
	// int sensorId);

	// public RowSensorData getLastValue();

	// public RowSensorData[] getValueByTimeSegment(String sensorType, Timestamp
	// start, Timestamp end);

	// public RowSensorData[] getLastNValue(String sensorType, int n);

	// public RowSensorData[] getLastValueBySensor(String sensorType, int[]
	// sensorId);

	// public RowSensorData[] getLastNValueBySensor(String sensorType, int[]
	// sensorId, int n);

}
